<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />

	<title>File: UCSCBin.rb [UCSCBin 0.2.0
]</title>

	<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet" />

	<script src="../js/jquery.js" type="text/javascript"
		charset="utf-8"></script>
	<script src="../js/thickbox-compressed.js" type="text/javascript"
		charset="utf-8"></script>
	<script src="../js/quicksearch.js" type="text/javascript"
		charset="utf-8"></script>
	<script src="../js/darkfish.js" type="text/javascript"
		charset="utf-8"></script>
</head>

<body class="file file-popup">
	<div id="metadata">
		<dl>
			<dt class="modified-date">Last Modified</dt>
			<dd class="modified-date">2010-10-28 14:09:05 +0900</dd>

			
			<dt class="requires">Requires</dt>
			<dd class="requires">
				<ul>
				
				</ul>
			</dd>
			

			
		</dl>
	</div>

	<div id="documentation">
		
		<div class="description">
			<h2>Description</h2>
			<h1><a href="../UCSCBin.html">UCSCBin</a></h1>
<table>
<tr><td valign="top">Author:</td><td>Hiroyuki Mishima

</td></tr>
<tr><td valign="top">Copyright:</td><td>Hiroyuki Mishima, 2010

</td></tr>
<tr><td valign="top">Licence:</td><td>the MIT/X11 licence. See the LICENCE file.

</td></tr>
</table>
<p>
Original program in C by Jim Kent, 2002
</p>
<p>
Util: convert between 0-based half-open interval and 1-based full-close
intervals.
</p>
<p>
BinRange: Calculate Bin number from genomic physical position according to
UCSC&#8217;s Bin Indexing System.
</p>
<p>
See also <a
href="http://genomewiki.ucsc.edu/index.php/Bin_indexing_system">genomewiki.ucsc.edu/index.php/Bin_indexing_system</a>,
a paper Kent, et. al. Genome Research 2002.12:996-1006, and
src/lib/binRange.c in the kent source tree.
</p>

		</div>
		
	</div>
</body>
</html>

